
<link type="text/css" href="inc/rl.css" rel="stylesheet">

{[assign var="in_item" value="`$result`"]}

{[include file="finance/in/item/_view.tpl"]}

<fieldset><legend>成本情况</legend>
<form id="form_edit"><input type="hidden" name="id" value="{[$smarty.request.id]}" />
<table>
	<tr>
		<td colspan="3" align="left">支出：<input type="text" name="out" id="out" value="" size="16" /></td>
	</tr>
	<tr>
		<td align="center" width="45%">未选成本明细</td>
		<td width="10%"></td>
		<td align="center" width="45%">已选成本明细</td>
	</tr>
	<tr>
		<td height="200px" align="center"><select multiple="multiple" name="left[]" id="left"
			style="height: 100%; width: 100%;">
			{[foreach name=outer key=key item=item from=$result_right]}
			<option value="{[$item.emp]}_{[$item.id]}"{[$item.class]}>{[$item.id]}/{[$item.emp_t]}/{[$item.out_x.name]}{[$item.name]}/{[$item.currency]}{[$item.amount]}</option>
			{[/foreach]}
		</select></td>
		<td align="center" height="180px">
		<div id='rl'><a href="#" id="addT" class="button">&raquo;</a><br>
		<a href="#" id="addAllT" class="button">&raquo;&raquo;</a><br>
		<a href="#" id="removeT" class="button">&laquo;</a><br>
		<a href="#" id="removeAllT" class="button">&laquo;&laquo;</a></div>
		</td>
		<td height="200px" align="center"><select multiple="multiple" name="right[]" id="right"
			style="height: 100%; width: 100%;">
			{[foreach name=outer key=key item=item from=$result_right]}
			<option value="{[$item.emp]}_{[$item.id]}">{[$item.id]}/{[$item.emp_t]}/{[$item.out_x.name]}{[$item.name]}/{[$item.currency]}{[$item.amount]}</option>
			{[/foreach]}
		</select></td>
	</tr>
</table>
</form>
</fieldset>

<script type='text/javascript' src='js/finance/in/item/out.js?r={[$smarty.now]}'></script>
